/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package weapons;

import java.awt.Graphics2D;
import java.awt.Image;
import java.awt.Rectangle;

/**
 *
 * @author RoKe
 */
public abstract class Weapon {

    protected int x, y, direction;

    public Weapon(int x, int y, int direction) {
        this.x = x;
        this.y = y;
        this.direction = direction;
    }

    public abstract void draw(Graphics2D g2d);

    public abstract void move();

    public int getX() {
        return x;
    }

    public int getY() {
        return y;
    }

    public abstract Image getImage();

    public abstract int getDamage();
    
    public abstract Rectangle getBounds();
    
    public abstract boolean isVisible();
}
